<grr-wizard-form title="Schedule Cron Hunt" on-resolve="onResolve()" on-reject="onReject()">

  <!-- Configure schedule -->
  <grr-wizard-form-page
      title="Cron Job properties"
      is-valid="controller.huntRunnerArgs.value.client_rule_set">

    <grr-configure-schedule-page cron-job-args="createCronJobArgs">
    </grr-configure-schedule-page>

  </grr-wizard-form-page>

  <!-- Configure flow -->
  <grr-wizard-form-page title="What to run?"
                        is-valid="createCronJobArgs.value.flow_name.value">

    <grr-configure-flow-page flow-name="createCronJobArgs.value.flow_name.value"
                             flow-arguments="createCronJobArgs.value.flow_args"
                             hunt-runner-args="controller.huntRunnerArgs">
    </grr-configure-flow-page>

  </grr-wizard-form-page>

  <!-- Configure hunt -->
  <grr-wizard-form-page title="Hunt parameters"
                        help-link="/help/investigating-with-grr/hunts/limits.html">

    <grr-configure-hunt-page hunt-runner-args="createCronJobArgs.value.hunt_runner_args">
    </grr-configure-hunt-page>

  </grr-wizard-form-page>

  <!-- Configure output plugins -->
  <grr-wizard-form-page title="Define Output Processing">

    <grr-configure-output-plugins-page output-plugins="controller.huntRunnerArgs.value.output_plugins">
    </grr-configure-output-plugins-page>

  </grr-wizard-form-page>

  <!-- Configure rules -->
  <grr-wizard-form-page title="Where to run?">

    <grr-configure-rules-page
        client-rule-set="controller.huntRunnerArgs.value.client_rule_set">
    </grr-configure-rules-page>

  </grr-wizard-form-page>

  <!-- Review -->
  <grr-wizard-form-page title="Review"
                        next-button-label="Schedule Hunt">

    <grr-new-cron-job-review-page cron-job-args="createCronJobArgs">
    </grr-new-cron-job-review-page>

  </grr-wizard-form-page>

  <!-- Submit the hunt and show the status -->
  <grr-wizard-form-page title="Result"
                        is-valid="controller.serverResponse != null"
                        on-show="controller.sendRequest()"
                        next-button-label="Done"
                        no-back-button="true">

    <grr-new-cron-job-status-page response="controller.serverResponse">
    </grr-new-cron-job-status-page>

  </grr-wizard-form-page>

</grr-wizard-form>
